@echo off
set QT_PATH=D:/software/ide/qt_5_15_2/5.15.2/msvc2019_64/bin
set SOURCE_DIR=widget

echo Updating translation files...

"%QT_PATH%/lupdate.exe" ^
  %SOURCE_DIR%/ExampleElaWindow.cpp ^
  %SOURCE_DIR%/ExampleElaWindow.h ^
  %SOURCE_DIR%/DashboardPage.cpp ^
  %SOURCE_DIR%/DashboardPage.h ^
  -ts translations/translation_zh_CN.ts ^
     translations/translation_en_US.ts ^
     translations/translation_ru_RU.ts

echo Translation update completed.
pause